from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://www.sina.com.cn/')
driver.implicitly_wait(5)

print(driver.find_element_by_xpath('/html/body/div[12]/div[34]/div[1]/div/div[1]/h3/a').get_attribute('outerHTML'))